// Permission.cs
// Facebook/Framework/Service
// Copyright (c) 2007, Nikhil Kothari. All Rights Reserved.
//

using System;

namespace Facebook.Service
{
    /// <summary>
    /// A particular permission that an application can look for.
    /// </summary>
    public enum Permission {

        /// <summary>
        /// Whether the application can set the user's status.
        /// </summary>
        SetStatus = 0,

        /// <summary>
        /// Whether the application can upload or tag photos without requiring manual approval.
        /// </summary>
        UploadPhoto = 1,

        /// <summary>
        /// Whether the application can create and delete marketplace listings.
        /// </summary>
        CreateListing = 2,

		/// <summary>
		/// Allows an application to send email to its user.
		/// </summary>
		EmailUser = 3,

		/// <summary>
		/// Grants an infinite session to the application.
		/// </summary>
		OfflineAccess = 4
    }
}